/**
 * 项目管理路由
 */
export default [
  {
    path: '/project',
    meta: { requiresAuth: true },
    children: [
      {
        path: 'list',
        name: 'ProjectList',
        component: () => import('@/views/project/List.vue'),
        meta: { title: '项目列表' }
      },
      {
        path: 'kanban/:id',
        name: 'ProjectKanban',
        component: () => import('@/views/project/Kanban.vue'),
        meta: { title: '项目看板' }
      },
      {
        path: 'tasks',
        name: 'ProjectTasks',
        component: () => import('@/views/project/Tasks.vue'),
        meta: { title: '任务管理' }
      },
      {
        path: 'gantt/:id',
        name: 'ProjectGantt',
        component: () => import('@/views/project/Gantt.vue'),
        meta: { title: '甘特图' }
      },
      {
        path: 'team',
        name: 'ProjectTeam',
        component: () => import('@/views/project/Team.vue'),
        meta: { title: '团队管理' }
      },
      {
        path: 'calendar',
        name: 'ProjectCalendar',
        component: () => import('@/views/project/Calendar.vue'),
        meta: { title: '项目日历' }
      }
    ]
  }
]

